package com.example.demoshiro.config;

import org.hibernate.dialect.MySQL5InnoDBDialect;

/**
 * @author lzh
 * @date 2019/9/18 - 14:18
 */
public class MySQLConfig extends MySQL5InnoDBDialect {

    @Override
    public String getTableTypeString() {
        return "ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci";
    }
}
